package com.bootdo.appsystem.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.appsystem.dao.SearchhistoriesDao;
import com.bootdo.appsystem.domain.SearchhistoriesDO;
import com.bootdo.appsystem.service.SearchhistoriesService;



@Service
public class SearchhistoriesServiceImpl implements SearchhistoriesService {
	@Autowired
	private SearchhistoriesDao searchhistoriesDao;
	
	@Override
	public SearchhistoriesDO get(Integer recordid){
		return searchhistoriesDao.get(recordid);
	}
	
	@Override
	public List<SearchhistoriesDO> list(Map<String, Object> map){
		return searchhistoriesDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return searchhistoriesDao.count(map);
	}
	
	@Override
	public int save(SearchhistoriesDO searchhistories){
		return searchhistoriesDao.save(searchhistories);
	}
	
	@Override
	public int update(SearchhistoriesDO searchhistories){
		return searchhistoriesDao.update(searchhistories);
	}
	
	@Override
	public int remove(Integer recordid){
		return searchhistoriesDao.remove(recordid);
	}
	
	@Override
	public int batchRemove(Integer[] recordids){
		return searchhistoriesDao.batchRemove(recordids);
	}
	
}
